package com.heima.api.wemedia;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.media.dtos.WmUserDto;
import com.heima.model.media.pojos.WmUser;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;
@Api(tags = "自媒体登录api")
public interface LoginControllerApi {

    /**
     * 自媒体登录
     * @param user
     * @return
     */
    @ApiOperation("登录")
    ResponseResult login(WmUserDto dto);
}